<?php

/************************************************************
 *
 *	$Date: 2006-09-01 23:41:17 +0000 (Fri, 01 Sep 2006) $
 *	$Revision: 2 $
 *	$Author: g.o.crawford $
 *	$HeadURL: http://mail2forum.googlecode.com/svn/trunk/routers/isAllUppercase/isAllUppercase.php $
 *
 /***********************************************************/



class m2f_routers_isAllUppercase extends m2f_router
{
	
	/**
	 * Check if message body is all uppercase
	 * @access public
	 * @return boolean TRUE if all uppercase
	 */
	function route()
	{
		m2f_log::log(M2F_LOG_NORMAL, $this->class, 'is_isAllUppercase_router', __LINE__, __FILE__); 
		return (strtoupper($this->message->body) === $this->message->body);
	}
}

?>